<h1>Fund Transfer Status</h1>

<?php echo $model->msg; ?>
<div class="success">
<?php
    
    $isSignUp = $_SESSION['NEWSIGNUP_MEMBER'];
    if ($isSignUp != null) {
        $signupMember = $isSignUp;
        //echo "<div class='success acc-succ-msg'>Your account has been created successfully with following options. Dont forget to write down your security code in a safe place. <b style='color:red'>Please check your email(Inbox/Spam) to activate your account</b></div><br/>";
        echo "<div class='success acc-succ-msg'>Your account has been created and activated successfully with following options. Dont forget to write down your security code in a safe place.</div><br/>";
        $this->widget('zii.widgets.CDetailView', array(
            'data' => $signupMember,
            'attributes' => array(
                'first_name',
                'last_name',
                'email',
                'username',
                'security_answer',
                'security_code',
            ),
        ));
        $_SESSION['NEWSIGNUP_MEMBER'] = NULL;
    }

    switch ($PMCODE) {
    case 'PM':
        echo "<br/><div> The payment transfer from Perfect Money was successful. Review the transaction details below</div><br/>";
        ?>
             <table id="yw0" class="detail-view">
                 <tbody>
                    <tr class="odd"><th>PAYEE ACCOUNT</th><td><?php echo $model1['PAYEE_ACCOUNT'];?></td></tr>
                    <tr class="even"><th>PAYMENT AMOUNT</th><td><?php echo $model1['PAYMENT_AMOUNT'];?></td></tr>
                    <tr class="odd"><th>PAYMENT UNITS</th><td><?php echo $model1['PAYMENT_UNITS'];?></td></tr>
                    <tr class="even"><th>PAYMENT BATCH NUM</th><td><?php echo $model1['PAYMENT_BATCH_NUM'];?></td></tr>
                    <tr class="odd"><th>SUGGESTED_MEMO</th><td><?php echo $model1['SUGGESTED_MEMO'];?></td></tr>
                    <tr class="even"><th>TIME STAMP GMT</th><td><?php echo $model1['TIMESTAMPGMT'];?></td></tr>
                    <tr class="odd"><th>PAYER_ACCOUNT</th><td><?php echo $model1['PAYER_ACCOUNT'];?></td></tr>
                </tbody>
             </table>
    <?php
        break;
    case 'EP':
        echo "The payment transfer from EgoPay was successful. Please check your total balance";
        break;
    case 'LR':
        echo "The payment transfer from Liberty Reserve was successful. Review the transaction details below";
        ?>
     <table id="yw0" class="detail-view">
                 <tbody>
                    <tr class="odd"><th>lr_amnt</th><td><?php echo $model1['lr_amnt'];?></td></tr>
                    <tr class="even"><th>lr_currency</th><td><?php echo $model1['lr_currency'];?></td></tr>
                    <tr class="even"><th>lr_merchant_ref</th><td><?php echo $model1['lr_merchant_ref'];?></td></tr>
                    <tr class="odd"><th>lr_paidby</th><td><?php echo $model1['lr_paidby'];?></td></tr>
                    <tr class="even"><th>lr_paidto</th><td><?php echo $model1['lr_paidto'];?></td></tr>
                    <tr class="odd"><th>lr_timestamp</th><td><?php echo $model1['lr_timestamp'];?></td></tr>
                    <tr class="odd"><th>lr_transfer</th><td><?php echo $model1['lr_transfer'];?></td></tr>
                    <tr class="odd"><th>sad</th><td><?php echo $model1['sad'];?></td></tr>
                </tbody>
             </table>
    <?php
        break;
    default:
        echo 'The Payment was Successful';
    }
?>
</div>
<pre style="display:none">
    <?php var_dump($model1); ?>
    <?php var_dump($model2); ?>
</pre>
